package com.stu.spring04.service.impl;

import com.stu.spring04.entity.Address;
import com.stu.spring04.mapper.IAddressMapper;
import com.stu.spring04.service.IAddressService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * ClassName: AddressServiceImpl
 * Package: com.stu.spring04.service.impl
 * Description: @Version 1.0
 */
@Service
public class AddressServiceImpl implements IAddressService {
    @Autowired
    private IAddressMapper addressMapper;
    @Override
    public Integer addAddress(Address address) {
        Integer integer = addressMapper.addAddress(address);
        return integer;
    }
}
